package team18.yuejian.Server;


import java.io.File;
import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import team18.yuejian.bean.LoginBean;
import team18.yuejian.bean.NoteBean;
import team18.yuejian.bean.OrderBean;
import team18.yuejian.bean.RegBean;
import team18.yuejian.bean.UserBean;


public interface CommonServer {


    @GET("user/login")
    Call<LoginBean> Login(@Query("uname") String uname,
                          @Query("upassword") String password
    );

    @GET("user/reg")
    Call<RegBean> Reg(@Query("uname") String uname,
                      @Query("uphone") String uphone,
                      @Query("upassword") String upassword,
                      @Query("ugender") int ugender
    );

    @GET("user/repassword")
    Call<NoteBean> RePassword(
            @Query("uname") String uname,
            @Query("uphone") String uphone,
            @Query("newpassword") String newpassword
    );






}
